---
title: 'Creating an LLM App'
---

:::note
You can create applications in Agenta either from the web interface or from code. This guide will focus on creating an application using a template from the UI. You can read more about creating a custom application using code  [here](/prompt_management/setting_up/custom_applications)
:::

## Step-by-step Guide

1. **Navigate to the main page**: This is where you can create a new application.

<img className="dark:hidden" src="/images/basic_guides/00_main_page_light.png" />
<img className="hidden dark:block" src="/images/basic_guides/00_main_page_dark.png" />

2. **Choose a template**: Currently, we offer templates for single prompt applications and chat applications.

<img className="dark:hidden" src="/images/basic_guides/01_choose_template_light.png" />
<img className="hidden dark:block" src="/images/basic_guides/01_choose_template_dark.png" />

### Single Prompt Application

The single prompt application is useful for single turn LLM applications such as question answering, text generation, entity extraction, and classification, etc.

This template is based on the OpenAI specification and uses both the system prompt and user prompt:

- **System Prompt**: The system prompt is a message written by the developer to guide the model's behavior. It provides a high-level instruction, such as defining the model's role or setting specific goals.

- **User Prompt**: The user message is the message sent to the model by the user.

While you could write the same application using only the user prompt or the system prompt, it is best to experiment with both approaches. Usually, the system-prompt is typically used for high-level instruction.

<img className="dark:hidden" src="/images/basic_guides/02_single_prompt_playground_light.png" />
<img className="hidden dark:block" src="/images/basic_guides/02_single_prompt_playground_dark.png" />

### Chat Application
Like the single prompt application, the chat application is based on the OpenAI specification and uses both the system prompt and user prompt, but it is designed for multi-turn applications like chatbots.

<img className="dark:hidden" src="/images/basic_guides/03_chat_app_playground_light.png" />
<img className="hidden dark:block" src="/images/basic_guides/03_chat_app_playground_dark.png" />

## Next steps

Now that you've created an application, you can learn how to do [prompt engineering in the playground](/prompt_management/prompt_engineering).